package com.codi.bus.core.sys.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import java.util.Date;

/**
 * Created by wangzhenhao on 2017/9/19.
 */
@Data
@Slf4j
@Accessors(chain = true)
public class OrgFileVo {
    private Long id;

    private Long bucketId;

    private Long userId;

    private String fileType;

    private String fileName;

    private String originFileName;

    private String hash;

    private String fileUrl;

    private String mimeType;

    private String fileSize;

    private Integer state;

    private Boolean isPublic;

    private String bucket;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    private String description;

    private String companyName;

    private static final long serialVersionUID = 1L;
}
